/*
*
* ProductGoodsCustomRelationExample.java
* @author yaokan
* @date 2020-11-26 14:32:36
*/
package com.steel.yfmall.cloud.assistant.po.goods;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductGoodsCustomRelationExample {
    /**
     * product_goods_custom_relation
     */
    protected String orderByClause;

    /**
     * product_goods_custom_relation
     */
    protected boolean distinct;

    /**
     * product_goods_custom_relation
     */
    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    private String groupByClause;

    private String selectFields;

    /**
     * 构造查询条件:product_goods_custom_relation
     * @Title: ProductGoodsCustomRelationExample
     * @Description: ( )
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public ProductGoodsCustomRelationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 设置排序字段:product_goods_custom_relation
     * @Title: setOrderByClause
     * @Description: ( 设置排序字段 )
     * @param 参数说明 类型:String	名称:orderByClause 排序字段
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 获取排序字段:product_goods_custom_relation
     * @Title: getOrderByClause
     * @Description: ( 获取排序字段 )
     * @return 返回类型 java.lang.String
     * @date 2020-11-26 14:32:36
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 设置过滤重复数据:product_goods_custom_relation
     * @Title: setDistinct
     * @Description: ( 设置过滤重复数据 )
     * @param 参数说明 类型:boolean	名称:distinct 是否过滤重复数据
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 是否过滤重复数据:product_goods_custom_relation
     * @Title: isDistinct
     * @Description: ( 是否过滤重复数据 )
     * @return 返回类型 boolean
     * @date 2020-11-26 14:32:36
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 获取当前的查询条件实例:product_goods_custom_relation
     * @Title: getOredCriteria
     * @Description: ( 获取当前的查询条件实例 )
     * @return 返回类型 java.util.List<Criteria>
     * @date 2020-11-26 14:32:36
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *:product_goods_custom_relation
     * @Title: or
     * @Description: ( )
     *
     * @param 参数说明 类型:Criteria	名称:criteria 过滤条件实例
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *:product_goods_custom_relation
     * @Title: or
     * @Description: ( )
     *
     * @return 返回类型 Criteria
     * @date 2020-11-26 14:32:36
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 创建一个查询条件:product_goods_custom_relation
     * @Title: createCriteria
     * @Description: ( 创建一个查询条件 )
     * @return 返回类型 Criteria
     * @date 2020-11-26 14:32:36
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 内部构建查询条件对象:product_goods_custom_relation
     * @Title: createCriteriaInternal
     * @Description: ( 内部构建查询条件对象 )
     * @return 返回类型 Criteria
     * @date 2020-11-26 14:32:36
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除查询条件:product_goods_custom_relation
     * @Title: clear
     * @Description: ( 清除查询条件 )
     * @return 返回类型 null
     * @date 2020-11-26 14:32:36
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void limit(Integer offset, Integer limit) {
        this.offset = offset;
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = groupByClause;
    }

    public String getGroupByClause() {
        return groupByClause;
    }

    public void setSelectFields(String selectFields) {
        this.selectFields = selectFields;
    }

    public String getSelectFields() {
        return selectFields;
    }

    /**
     * @title product_goods_custom_relation表的实体类
     * @description product_goods_custom_relation
     * @version 1.0
     * @author yaokan
     * @date 2020-11-26 14:32:36
     */
    protected abstract static class GeneratedCriteria implements java.io.Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Integer value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Integer value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Integer value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Integer value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Integer> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Integer> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andMaterialIsNull() {
            addCriterion("material is null");
            return (Criteria) this;
        }

        public Criteria andMaterialIsNotNull() {
            addCriterion("material is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialEqualTo(String value) {
            addCriterion("material =", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialNotEqualTo(String value) {
            addCriterion("material <>", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialGreaterThan(String value) {
            addCriterion("material >", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialGreaterThanOrEqualTo(String value) {
            addCriterion("material >=", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialLessThan(String value) {
            addCriterion("material <", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialLessThanOrEqualTo(String value) {
            addCriterion("material <=", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialLike(String value) {
            addCriterion("material like", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialNotLike(String value) {
            addCriterion("material not like", value, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialIn(List<String> values) {
            addCriterion("material in", values, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialNotIn(List<String> values) {
            addCriterion("material not in", values, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialBetween(String value1, String value2) {
            addCriterion("material between", value1, value2, "material");
            return (Criteria) this;
        }

        public Criteria andMaterialNotBetween(String value1, String value2) {
            addCriterion("material not between", value1, value2, "material");
            return (Criteria) this;
        }

        public Criteria andStandNameIsNull() {
            addCriterion("stand_name is null");
            return (Criteria) this;
        }

        public Criteria andStandNameIsNotNull() {
            addCriterion("stand_name is not null");
            return (Criteria) this;
        }

        public Criteria andStandNameEqualTo(String value) {
            addCriterion("stand_name =", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameNotEqualTo(String value) {
            addCriterion("stand_name <>", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameGreaterThan(String value) {
            addCriterion("stand_name >", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameGreaterThanOrEqualTo(String value) {
            addCriterion("stand_name >=", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameLessThan(String value) {
            addCriterion("stand_name <", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameLessThanOrEqualTo(String value) {
            addCriterion("stand_name <=", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameLike(String value) {
            addCriterion("stand_name like", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameNotLike(String value) {
            addCriterion("stand_name not like", value, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameIn(List<String> values) {
            addCriterion("stand_name in", values, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameNotIn(List<String> values) {
            addCriterion("stand_name not in", values, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameBetween(String value1, String value2) {
            addCriterion("stand_name between", value1, value2, "standName");
            return (Criteria) this;
        }

        public Criteria andStandNameNotBetween(String value1, String value2) {
            addCriterion("stand_name not between", value1, value2, "standName");
            return (Criteria) this;
        }

        public Criteria andPsrNoIsNull() {
            addCriterion("psr_no is null");
            return (Criteria) this;
        }

        public Criteria andPsrNoIsNotNull() {
            addCriterion("psr_no is not null");
            return (Criteria) this;
        }

        public Criteria andPsrNoEqualTo(String value) {
            addCriterion("psr_no =", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoNotEqualTo(String value) {
            addCriterion("psr_no <>", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoGreaterThan(String value) {
            addCriterion("psr_no >", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoGreaterThanOrEqualTo(String value) {
            addCriterion("psr_no >=", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoLessThan(String value) {
            addCriterion("psr_no <", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoLessThanOrEqualTo(String value) {
            addCriterion("psr_no <=", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoLike(String value) {
            addCriterion("psr_no like", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoNotLike(String value) {
            addCriterion("psr_no not like", value, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoIn(List<String> values) {
            addCriterion("psr_no in", values, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoNotIn(List<String> values) {
            addCriterion("psr_no not in", values, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoBetween(String value1, String value2) {
            addCriterion("psr_no between", value1, value2, "psrNo");
            return (Criteria) this;
        }

        public Criteria andPsrNoNotBetween(String value1, String value2) {
            addCriterion("psr_no not between", value1, value2, "psrNo");
            return (Criteria) this;
        }

        public Criteria andApnNoIsNull() {
            addCriterion("apn_no is null");
            return (Criteria) this;
        }

        public Criteria andApnNoIsNotNull() {
            addCriterion("apn_no is not null");
            return (Criteria) this;
        }

        public Criteria andApnNoEqualTo(String value) {
            addCriterion("apn_no =", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoNotEqualTo(String value) {
            addCriterion("apn_no <>", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoGreaterThan(String value) {
            addCriterion("apn_no >", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoGreaterThanOrEqualTo(String value) {
            addCriterion("apn_no >=", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoLessThan(String value) {
            addCriterion("apn_no <", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoLessThanOrEqualTo(String value) {
            addCriterion("apn_no <=", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoLike(String value) {
            addCriterion("apn_no like", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoNotLike(String value) {
            addCriterion("apn_no not like", value, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoIn(List<String> values) {
            addCriterion("apn_no in", values, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoNotIn(List<String> values) {
            addCriterion("apn_no not in", values, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoBetween(String value1, String value2) {
            addCriterion("apn_no between", value1, value2, "apnNo");
            return (Criteria) this;
        }

        public Criteria andApnNoNotBetween(String value1, String value2) {
            addCriterion("apn_no not between", value1, value2, "apnNo");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagIsNull() {
            addCriterion("performance_flag is null");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagIsNotNull() {
            addCriterion("performance_flag is not null");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagEqualTo(String value) {
            addCriterion("performance_flag =", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagNotEqualTo(String value) {
            addCriterion("performance_flag <>", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagGreaterThan(String value) {
            addCriterion("performance_flag >", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagGreaterThanOrEqualTo(String value) {
            addCriterion("performance_flag >=", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagLessThan(String value) {
            addCriterion("performance_flag <", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagLessThanOrEqualTo(String value) {
            addCriterion("performance_flag <=", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagLike(String value) {
            addCriterion("performance_flag like", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagNotLike(String value) {
            addCriterion("performance_flag not like", value, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagIn(List<String> values) {
            addCriterion("performance_flag in", values, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagNotIn(List<String> values) {
            addCriterion("performance_flag not in", values, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagBetween(String value1, String value2) {
            addCriterion("performance_flag between", value1, value2, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andPerformanceFlagNotBetween(String value1, String value2) {
            addCriterion("performance_flag not between", value1, value2, "performanceFlag");
            return (Criteria) this;
        }

        public Criteria andMscNoIsNull() {
            addCriterion("msc_no is null");
            return (Criteria) this;
        }

        public Criteria andMscNoIsNotNull() {
            addCriterion("msc_no is not null");
            return (Criteria) this;
        }

        public Criteria andMscNoEqualTo(String value) {
            addCriterion("msc_no =", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoNotEqualTo(String value) {
            addCriterion("msc_no <>", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoGreaterThan(String value) {
            addCriterion("msc_no >", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoGreaterThanOrEqualTo(String value) {
            addCriterion("msc_no >=", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoLessThan(String value) {
            addCriterion("msc_no <", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoLessThanOrEqualTo(String value) {
            addCriterion("msc_no <=", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoLike(String value) {
            addCriterion("msc_no like", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoNotLike(String value) {
            addCriterion("msc_no not like", value, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoIn(List<String> values) {
            addCriterion("msc_no in", values, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoNotIn(List<String> values) {
            addCriterion("msc_no not in", values, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoBetween(String value1, String value2) {
            addCriterion("msc_no between", value1, value2, "mscNo");
            return (Criteria) this;
        }

        public Criteria andMscNoNotBetween(String value1, String value2) {
            addCriterion("msc_no not between", value1, value2, "mscNo");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    /**
     * product_goods_custom_relation
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * @title product_goods_custom_relation表的实体类
     * @description product_goods_custom_relation
     * @version 1.0
     * @author yaokan
     * @date 2020-11-26 14:32:36
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
